﻿<%@ Page Language="C#" MasterPageFile="~/Admin/SanPham/MasterPageSanPham.master" AutoEventWireup="true" CodeFile="DanhSachBinhLuan.aspx.cs" Inherits="Admin_SanPham_DanhSachBinhLuan" Title="Danh sách bình luận" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
 <div>
       
        <div class="title">
            Danh Sách Bình Luận</div>
            <div style="width:100%;">
            <div style="display:table-cell; width:76%;float:left;">
                Tên Khách Hàng :
                <asp:TextBox ID="txt_TenKH" runat="server"></asp:TextBox>
       
                Tên Sản Phẩm :
                <asp:TextBox ID="txt_TenSP" runat="server"></asp:TextBox>
                <asp:Button ID="btn_Search" runat="server" Text="Tìm kiếm" OnClick="btn_Search_Click"/>
                
            
            </div> 
        <div class="addnewrow" style="display:table-cell; width:20%;float:right;"> 
                <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click1">Xóa</asp:LinkButton>
                    
            </div>   
        <div>
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" border="0" bgcolor="#cccccc">
                <thead >
                    <tr class="listtableheader">
                        <th align ="left">Mã Bình Luận</th>
                        <th align ="left">Tên Khách Hàng</th>
                           <th align ="left">Tên Sản Phẩm</th>
                              <th align ="left">Ngày Gửi</th>
                       
                        <th align ="left">
                            <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                            <a href="javascript:CheckAll(2)">Chọn hết</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td><a href=ChiTietBinhLuan.aspx?id=<%#Eval("MaBL")%> ><%#Eval("MaBL") %></a></td>
                <td>
                    <asp:Literal ID="lit_tenKH" runat="server"></asp:Literal>
                </td>
                   <td>
                       <asp:Literal ID="lit_tenSP" runat="server"></asp:Literal>
                    </td>
               
                 <td><%#Eval("NgayGui") %></td>
           
                <td>
                    <asp:CheckBox ID="cb_Xoa" runat="server" />
                    <asp:HiddenField ID="hf_id" Value='<%#Eval("MaBL") %>' runat="server" />
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </div>
        <div style="width:100%;"> 
            <div style="float:left;">               
                <cc1:PagerV2_8 ID="pager" runat="server" OnCommand="pager_Command" />
            </div> 
            
        </div>
 </div>
 </div>
</asp:Content>

